<?php 
// http://www.google.com/support/webmasters/bin/answer.py?hl=zh-Hans&answer=71453
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <?PHP for($i=1;$i <= $totalpage;$i++ ) { ?>
   <sitemap>
      <loc>{{Router::url(array('controller'=>'sitemaps','action'=>'datalist',$modelClass,$i),true)}}</loc>      
   </sitemap>
    <? } ?>
</sitemapindex>